diff options
| author | Fuwn <[email protected]> | 2026-05-24 14:08:46 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-24 14:08:46 +0000 |
| commit | c7abe99c138f9bdcf417808b12361d1da2e18e58 (patch) | |
| tree | 198f62a4428190dfc8e6f3a63bb0ed7619620453 /src/routes/girls/[language]/+page.server.ts | |
| parent | refactor(locale): move hardcoded UI strings into english locale (diff) | |
| download | due.moe-c7abe99c138f9bdcf417808b12361d1da2e18e58.tar.xz due.moe-c7abe99c138f9bdcf417808b12361d1da2e18e58.zip | |
fix(locale): deep-merge fallback into partial namespace returns
svelte-i18n's getJSON returns the active locale's sub-tree verbatim;
nested keys missing in that locale do not auto-fall-back to the
fallbackLocale. The locale store now deep-merges the English value
into the resolved object so JP users see English for any sub-key the
JA dictionary omits (instead of blanks).
Diffstat (limited to 'src/routes/girls/[language]/+page.server.ts')
0 files changed, 0 insertions, 0 deletions